﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleBehaviorTreeLibrary
{
    internal class AttackSequence : Sequence
    {
        internal AttackSequence()
        {
            Children.Add(new IsEnemyNear());
            Children.Add(new IsEnemyLessPowerful());
            Children.Add(new Attack());
        }

        public override RunResult Run(Blackboard blackboard)
        {
            Console.WriteLine("Entering attack sequence to check for intruders.");

            return base.Run(blackboard);
        }
    }
}
